<?php

namespace App\Models;

use App\Traits\Relation\ConferenceRelation;
use Illuminate\Database\Eloquent\Model;

/**
 * 会议数据模型
 *
 * Date: 19/03/2018
 * @author George
 * @package App\Models
 */
class Conference extends Model
{
    use ConferenceRelation;

    /**
     * 定义不可自动填充字段
     * @var array
     */
    protected $guarded = ['id'];

    public function images()
    {
        return $this->morphMany(Image::class,'imagetable');
    }
}
